Auto merge of #4931 - Manishearth:testname, r=matklad
authorbors <bors@rust-lang.org>
Thu, 11 Jan 2018 09:18:22 +0000 (09:18 +0000)
committerbors <bors@rust-lang.org>
Thu, 11 Jan 2018 09:18:22 +0000 (09:18 +0000)
commit929392dc6376ad675b9fd293f8e776b205bf5eee
tree3baf90bbff3d3b0c3f15ff66ab5163f91f6d0f32
parent941cea5e2027054d0625adfd393e329a6fab5dbe
parentc3a7db176490cd33f388872418ada516d89e353c
Auto merge of #4931 - Manishearth:testname, r=matklad

Explicitly mention testname argument for cargo test/bench

The fact that `cargo test foo` works is totally non obvious. I suspect that 99% of the time
folks running `cargo help test` are looking for a way to only run a specific test, and
the current help message makes it seem like the way to do that is `cargo test --test foo`,
which is incorrect (it runs a specific test target).

This PR mentions it explicitly in the help message, first and foremost.